package com.jian.sys.service;

import com.jian.sys.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 剑
 * @since 2020-01-13
 */
public interface RoleService extends IService<Role> {
    //查询角色拥有的权限和菜单 pid
    public List<Integer> queryRolePermissionByRid(Integer roleId);
    //保存分配的权限
    public void saveSelectPermission(Integer rid, Integer[] ids);
}
